import http from '@/utils/httpRequest'
import request from '@/utils/httpRequest'

export default {
    // 发送签名密钥校验
    getHotelSignKey(searchObj) {
      return request ({
        url: http.adornUrl(`/hotel/hotelapi/hotel/signKey`),
        method: 'post',
        data: http.adornData(searchObj,false)  
      })
    },

    // 上传酒店信息
    saveHotel(obj) {
      return request({
          url:http.adornUrl(`/hotel/hotelapi/saveHotel`),
          method: 'post',
          data: http.adornData(obj)
        })
      },
    
      // 上传酒店信息
      hotel(obj) {
        return request({
            url:http.adornUrl(`/hotel/hotelapi/hotel/show`),
            method: 'post',
            data: http.adornData(obj)
          })
        },
  }
  